package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.CheckGroupDto;
import com.itheima.dto.SetmealDto;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.Setmeal;
import com.itheima.vo.SetmealVo;

import java.util.List;

/**
 * @author ：yuanjian
 * @date ：Created in 2020/11/11 14:53
 * @description：
 */

public interface SetmealService extends IService<Setmeal> {
    void save(SetmealDto setmealDto);
    PageResult findByPage(QueryPageBean pageBean);

    List<Long> findCheckItemByCheckGroupId(Long setmealId);

    void clearOssImg();

    boolean deleteById(Long id);
    //通过id查询套餐、检查组和检查项
    SetmealVo findSetMealDetail(Long setmeaId);

    List<Setmeal> findSetmealAll();
}
